binaries=
appendage_dir=../../appendage
appendage=${appendage_dir}/Plugin.vala

ExampleApplicationPlugin: ExampleApplicationPlugin.vala
	valac -C --pkg gtk+-2.0 --pkg gio-2.0 --pkg gmodule-2.0 --pkg gee-1.0 ExampleApplicationPlugin.vala ../ExampleApplicationIPlugin.vala ../Core.vala ${appendage_dir}/Plugin.vala
	gcc -shared ExampleApplicationPlugin.c `pkg-config --cflags --libs gtk+-2.0` -o ExampleApplicationPlugin.so


clean:
	rm -f *.o *.h *.h.gch *.c *.so $(binaries)

